﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 浅复制
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Resume resume = new Resume("大鸟");
            resume.SetPersonalInfo("男", "29");
            resume.SetWorkExperience("1998-2000", "XX公司");

            Resume resume1 = (Resume)resume.Clone();
            resume1.SetWorkExperience("1998-2006", "YY公司");

            Resume resume2 = (Resume)resume.Clone();
            resume2.SetPersonalInfo("男", "24");

            resume.Display();
            resume1.Display();
            resume2.Display();

            Console.Read();
        }
    }
}
